package model;

import java.awt.Color;

public class GameColor extends Color {

	private static final long serialVersionUID = 1L;
	private String name;

	public GameColor(int r, int g, int b, String s) {
		super(r, g, b);
		name = s;
	}

	public GameColor(Color c, String s) {
		super(c.getRGB());
		name = s;
	}

	public String getName() {
		return name;
	}

	public String getShortName() {
		return name.substring(0, 1);
	}

}
